﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class DeathKnight
    {
        public bool bloodCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (bloodPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (bloodDungeonCombat())
                    return true;
            }
            else
            {
                if (bloodQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool bloodHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (bloodPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (bloodDungeonHeal())
                    return true;
            }
            else
            {
                if (bloodQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool bloodBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (bloodPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (bloodDungeonBuff())
                    return true;
            }
            else
            {
                if (bloodQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool bloodPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (bloodPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (bloodDungeonPullSpell())
                    return true;
            }
            else
            {
                if (bloodQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
